package apollo.game.utils;

import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class PaintHelp {

	public static void draw (SpriteBatch batch, Texture texture, float x, float y) {
		float u, v, u2, v2;
		float width, height;
		
		u = 0f;
		v = 1f;
		u2 = 1f;
		v2 = 0f;
		
		width = texture.getWidth();
		height = texture.getHeight();
		
		batch.draw(texture, x, height + y, width, -height, u, v, u2, v2);
	}
}
